<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>v-if扩展</title>
		<script src="https://cdn.jsdelivr.net/npm/vue"></script>
	</head>
	<body>
		<div id="app">
			<div v-if="Math.random() > 0.5">
				Now you see me!
			</div>
			<div v-else>
				ON you don't!
			</div>
		</div>
		<script>
			var vm = new Vue({
				el:'#app',
				data:{
					
				}
			})
		</script>
	</body>
</html>
